package com.hunau.novel_reading.request;

import org.hibernate.validator.constraints.NotBlank;

public class HistorySeekReq {
    @NotBlank(message = "用户名不能为空")
    private String username;

    public @NotBlank(message = "用户名不能为空") String getUsername() {
        return username;
    }

    public void setUsername(@NotBlank(message = "用户名不能为空") String username) {
        this.username = username;
    }
    public HistorySeekReq() {
    }
    public HistorySeekReq(String username) {
        this.username = username;
    }
}
